package com.corechina.apex_osswords.service;

import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.dto.CoreProjectDto;
import com.corechina.apex_osswords.domain.entity.CoreKnowledgeBase;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 知识库 服务类
 * </p>
 *
 * @author fyh
 * @since 2023-02-03
 */
public interface ICoreKnowledgeBaseService extends IService<CoreKnowledgeBase> {

    Response add(CoreKnowledgeBase coreKnowledgeBase);

    Response del(Integer id);

    Response update(CoreKnowledgeBase coreKnowledgeBase);

    Response getList(Integer type,String name, Integer pageIndex, Integer pageSize);

    Response getOne(Integer id);

    Response getListForWeiXin(Integer type, Integer pageIndex, Integer pageSize);

    Response getOneForWeiXin(Integer id);

}
